package com.base.component.ai.workflow.node;

import java.util.List;

import com.base.component.ai.workflow.core.NodeTypeEnum;
import com.gitee.magic.core.valid.annotation.Length;
import com.gitee.magic.core.valid.annotation.NotNull;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

@Getter@Setter@ToString
public class NodeDify extends Node {
	
	public NodeDify() {
		super(NodeTypeEnum.DIFY);
	}

	@Schema(description="输入字段")
	@NotNull
	private List<String> inputs;

	@Schema(description="用户名")
	@NotNull
	@Length
	private String user;
	
}
